package com.itheima.springboot.controller.mapper;

import com.itheima.springboot.controller.User;
import org.apache.ibatis.annotations.Mapper;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.stereotype.Repository;
import java.util.List;
@Mapper
//@MapperScan("mapper/UserMapper.xml")
@Repository
public interface mapper {
//    @Select("select * from t_user")
    public List<User> findAll();
}
